package cn.hqc.basic.controller;


import cn.hqc.basic.service.EchartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/echart")
public class EchartController {

    @Autowired
    private EchartService echartService;


    /**
     * 上传
     */
    @GetMapping
    public Map<String, Object> echart() {
        return echartService.echart();
    }
}
